package com.ivr.cm.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 呼入记录数据VO
 * @author liugeng
 * @Date 2015-07-15
 * @version 1.0
 */
public class UserCallinVo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private int id;					//用户呼入表ID
	private String mobile;			//主叫号码
	private String sp_number;		//被叫号码
	private String province;		//省份
	private String city;			//城市
	private int state_code;			//鉴权结果
	private String area_code;		//来自高阳的鉴权包,标识用户当前漫游所在地区
	private int isfilter;			//是否被过滤  0 未过滤  1 过滤
	private String linkId;			//唯一标识
	private Date add_date;			//入库日期
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getSp_number() {
		return sp_number;
	}
	public void setSp_number(String sp_number) {
		this.sp_number = sp_number;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public int getState_code() {
		return state_code;
	}
	public void setState_code(int state_code) {
		this.state_code = state_code;
	}
	public String getArea_code() {
		return area_code;
	}
	public void setArea_code(String area_code) {
		this.area_code = area_code;
	}
	public int getIsfilter() {
		return isfilter;
	}
	public void setIsfilter(int isfilter) {
		this.isfilter = isfilter;
	}
	public String getLinkId() {
		return linkId;
	}
	public void setLinkId(String linkId) {
		this.linkId = linkId;
	}
	public Date getAdd_date() {
		return add_date;
	}
	public void setAdd_date(Date add_date) {
		this.add_date = add_date;
	}

	@Override
	public String toString() {
		return String.format("UserCallinVo mobile=%s, sp_number=%s, province=%s, city=%s, state_code=%d, area_code=%s, isfilter=%d, linkId=%s, add_date=%tF %tT", mobile,sp_number,province,city,state_code,area_code,isfilter,linkId,add_date == null ? new Date() : add_date,add_date == null ? new Date() : add_date);
	}
}
